# The following lines were added by compinstall

zstyle ':completion:*' completer _expand _complete _ignored _approximate
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' menu select=1
zstyle ':completion:*' select-prompt %SScrolling: at %p%s
zstyle :compinstall filename '/home/user/.zshrc'

autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.zsh_history
HISTSIZE=1000
SAVEHIST=1000
setopt beep extendedglob
# End of lines configured by zsh-newuser-install

CFGHOME="$HOME/.config"

# binds
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word

# zplug
source ~/.zplug/init.zsh

source "$CFGHOME/zsh/zplug_plugins"
source "$CFGHOME/zsh/plugin_config"

export GREP_COLORS='mt=30;103'
export MENUCONFIG_COLOR="mono"

export EDITOR=nvim
export MAKEFLAGS='-j16'

# man colorscheme
export LESS_TERMCAP_se=$'\e[0m'
export LESS_TERMCAP_so=$'\e[46;30m'

# linux tty colorscheme
if tty | grep "/dev/tty[0-9]"; then
    tty-colorscheme-my-colors
fi

~/.login_stuff

source "$CFGHOME/zsh/ls_color"
source "$CFGHOME/zsh/aliases"
